package it.zqdszb.mvp.presenter;

import java.util.List;

import it.zqdszb.entity.ChannelListBean;
import it.zqdszb.library.retrofit.exception.ApiException;
import it.zqdszb.mvp.callback.OnChannelListCallBall;
import it.zqdszb.mvp.contract.ChannelListContract;

/**
 * Created by GH on 2018-05-14.
 */

	public class ChannelListPresenter extends ChannelListContract.ChannelListConPresenter implements OnChannelListCallBall {



	@Override
	public void onSuccess(List<ChannelListBean> result) {
		getView().showView(result);
	}

	@Override
	public void onFailed(ApiException e) {

	}


	@Override
	public void getData(int groupId) {
		mModel.fetchData(groupId,this);
	}
}
